package com.knowledge.common.constant;

/**
 * @author zzz
 * @title: GlobalConstant
 * @projectName blog-api
 * @description: TODO
 * @date 2022/3/415:27
 */
public class GlobalConstant {

    public static final Integer YES = 1;
    public static final Integer NO = 0;

    public static final String AUTH_HEADER = "Authorization";

    /**token过期时间*/
    public static final Integer EXPIRATION_TIME = 24 * 60 * 60 * 1000;

    public static final String TOKEN_PREFIX = "TOKEN_";

    //加密盐用于加密
    public static final String SALT = "wjgd!@#";

    public static final String TAG_OFFICIAL = "官方";
    public static final String USER_DEFAULT_IMG = "/static/user/user_%s.png";
}
